<?php
require_once("mysql.php");

$text = $_GET['text'];
$task_id = $_GET['task_id'];

$text = addslashes($text);

$query = "UPDATE todo_entry SET text='$text' WHERE id = $task_id";
mysql_query($query) or die(mysql_error());

require_once("get_listid_from_taskid.php");
?>
